const useColors = (value = [], isDefault = true) => {
  let color = [
    '#0092ff',
    '#88f3a1',
    '#ffde55',
    '#ff8055',
    '#ea4242',
    '#842755',
    '#702c9b',
    '#4830a3',
    '#5744ff',
    '#3a3dff',
  ];
  if (isDefault) {
    color = [...color, ...value];
  } else {
    color = value;
  }
  return {
    color,
  };
};

export default useColors;
